home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Creating bitmaps from resources < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  989 b   |  [TEXT/ttxt]

  1. Subject:     Creating bitmaps from resources.
  2. Sent:        3/8/96 9:32 PM
  3. Received:    3/8/96 10:51 AM
  4. From:        Pavel V. Skribtsov, scribcov@super.scph.mipt.ru
  5. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  6.  
  7. 1.I could not  manage to create an instance of the FW_PBitmap class from 
  8. the PICT resource directy. Seems the constructor of this class from 
  9. the FW_CResource file doesn't work on Mac.
  10.  
  11. 2. Instead , I create now FW_PPicture from the resource file and then 
  12. I create bitmap from the FW_PPicture. I think I found a bug then : if 
  13. there is not a destructed instance of FW_CBitmapContext class and I 
  14. call the constructor for FW_PBitmap from FW_PPicture , my poor 
  15. PowerMac 8100AV  crashes. I think , there might be some deep bugs with 
  16. GrafPort s or something like that. I am not even sure if you are 
  17. able to reproduce this bug , but I would recommend you to check
  18.  "everything there".
  19.  
  20.               Ok, thanks for attention. Pavel Skribtsov.
  21.